import request from '@/utils/request'

// 查询基金分配来源列表
export function listFundFpSource(query) {
  return request({
    url: '/fp/fundFpSource/list',
    method: 'get',
    params: query
  })
}

// 查询基金分配来源列表
export function findFundFpSourceList(query) {
  return request({
    url: '/fp/fundFpSource/findFundFpSourceList',
    method: 'get',
    params: query
  })
}

// 查询基金分配主表详细
export function getFundFpSource(id) {
  return request({
    url: '/fp/fundFpSource/' + id,
    method: 'get'
  })
}

// 保存基金分配主表
export function saveFundFpSource(data) {
  return request({
    url: '/fp/fundFpSource/save',
    method: 'post',
    data: data
  })
}

// 删除基金分配主表
export function delFundFpSource(id) {
  return request({
    url: '/fp/fundFpSource/' + id,
    method: 'delete'
  })
}
